let start = document.querySelector(".start");
let info = document.querySelector(".info");
let left = document.querySelector(".left .content");
let mid = document.querySelector(".mid .content");
let right = document.querySelector(".right .content");
info.style.display = "none";

document.addEventListener("keydown", function (event) {
  info.style.display = "flex";
  start.style.display = "none";
  left.textContent = event.key;
  mid.textContent = event.keyCode;
  right.textContent = event.code;
  console.log("Key pressed:", event.key);
});
